package com.coy.web.zax.feign.dto;

import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 用户
 * 注：入参/出参业务对象
 *
 * @author chenck
 * @gen 2021-06-12 21:09:08
 */
@Data
@Accessors(chain = true)
@ApiModel("用户 DTO")
public class UserInfoDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    private Long id;

    @ApiModelProperty(value = "来源应用类型0、默认渠道；1、小程序；2、公众号")
    private String appType;

    @ApiModelProperty(value = "来源应用id")
    private String appId;

    @ApiModelProperty(value = "手机号码")
    private String phone;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "用户等级（0：普通用户，1：普通会员）")
    private Integer userGrade;

    @ApiModelProperty(value = "当前积分")
    private Integer pointsCurrent;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "性别（1：男，2：女，0：未知）")
    private String sex;

    @ApiModelProperty(value = "头像")
    private String headimgUrl;

    @ApiModelProperty(value = "所在城市")
    private String city;

    @ApiModelProperty(value = "所在国家")
    private String country;

    @ApiModelProperty(value = "所在省份")
    private String province;

    @ApiModelProperty(value = "逻辑删除标记（1：显示；2：删除）")
    private String delFlag;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "最后更新时间")
    private Date updateTime;

}
